<template>
     <div class="demo-image__lazy">
     
  <img   v-for="(itme,index) in imgaelist" :key="index" :src="itme.image" style="width:200px;height:200px;padding-left:20px" @click="lookimage(itme.id)"/>
    <el-dialog :visible.sync="dialogVisible" width="90%">
        <img width="100%" :src="image.image" alt="">
    </el-dialog>
</div>
</template>
<script>
export default {
    name:'result',
    data(){
          return{
               imgaelist:[],
           reusme:[],
           image:{},
           dialogVisible:false
          }
    },
   methods:{
    findimg(){
              this.resume = JSON.parse(localStorage.getItem("resume"))
        
        this.$http({
        url: this.$http.adornUrl(`/resume/image/examine/findExaminImage/${this.resume.id}`),
        method: 'get',
      }).then(({data}) => {
            this.imgaelist=data;
          });
    },
    lookimage(id){
        this.dialogVisible = true
        this.$http({
        url: this.$http.adornUrl(`/resume/image/examine/findExaminImageById/${id}`),
        method: 'get',
        }).then(({data}) => {
            this.image=data;
          });
    }
   },
   mounted(){ 
       this.findimg();
   }
}
</script>
